package com.xja.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 评测表
 * </p>
 *
 * @author caijg
 * @since 2025-06-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("evaluation")
public class Evaluation implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 对应的舌诊id
     */
    private Long tongueDiagnosisId;

    /**
     * 舌苔分析
     */
    private String tongueCoatingAnalysis;

    /**
     * 健康分析
     */
    private String healthAnalysis;

    /**
     * 易患疾病
     */
    private String proneDiseases;

    /**
     * 调理方案
     */
    private String regulationPlan;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;


}
